package com.dayuan.constant;

public enum AjaxMsg {

	SUCCESS(1), FAIL(2),

	REGISTER_SUCCESS(1000), // 注册成功
	REGISTER_FAIL(1001), // 注册失败
	LOGIN_SUCCESS(1002), // 登陆成功
	LOGIN_FAIL(1003), // 帐号密码错误
	LOGIN_FAIL2(1004),// 帐号不存在
	
	
	PAY_FAIL("支付失败"),
	PAY_SUCCESS("支付成功");

	private int value;
	private String pay;

	AjaxMsg(int value) {
		this.value = value;
	}
	AjaxMsg(String pay) {
		this.pay = pay;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}
	
	public String getPay() {
		return pay;
	}
	public void setPay(String pay) {
		this.pay = pay;
	}


}
